package com.ktgj.train.domain;

import com.ktgj.common.core.annotation.Excel;
import com.ktgj.train.domain.vo.PayTypeVo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 收银台
 */
public class Cashier {
    public Cashier() {
        payType = new ArrayList<>();
    }

    /** 车次号 */
    @Excel(name = "车次号")
    private String trainnumber;

    /** Order订单状态:
     未支付 = 10,
     支付中 = 20,
     支付成功 = 30,
     出票成功 = 40,
     出票失败 = 50,
     取消订单 = 60 */
    @Excel(name = "Order订单状态: 未支付 = 10, 支付中 = 20, 支付成功 = 30, 出票成功 = 40, 出票失败 = 50, 取消订单 = 60")
    private String status;
    /** 出发车站 */
    @Excel(name = "出发车站")
    private String departurestationname;
    /** 到达车站 */
    @Excel(name = "到达车站")
    private String arrivalstationname;
    /** 乘车日期 */
    @Excel(name = "乘车日期")
    private String traveldate;
    /** 出发时间 */
    @Excel(name = "出发时间")
    private String departuretime;
    /** 到达时间 */
    @Excel(name = "到达时间")
    private String arrivaltime;
    /** 支付价 */
    @Excel(name = "支付价")
    private BigDecimal payamount;
    /** 支付过期时间 */
    @Excel(name = "支付过期时间")
    private String expiredTime;
    /** 支付类型 */
    @Excel(name = "支付类型")
    private List<PayTypeVo> payType;

    /** 跨天 0=当天到达 */
    @Excel(name = "跨天 0=当天到达")
    private Long addDay;

    public String getTrainnumber() {
        return trainnumber;
    }

    public void setTrainnumber(String trainnumber) {
        this.trainnumber = trainnumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeparturestationname() {
        return departurestationname;
    }

    public void setDeparturestationname(String departurestationname) {
        this.departurestationname = departurestationname;
    }

    public String getArrivalstationname() {
        return arrivalstationname;
    }

    public void setArrivalstationname(String arrivalstationname) {
        this.arrivalstationname = arrivalstationname;
    }

    public String getTraveldate() {
        return traveldate;
    }

    public void setTraveldate(String traveldate) {
        this.traveldate = traveldate;
    }

    public String getDeparturetime() {
        return departuretime;
    }

    public void setDeparturetime(String departuretime) {
        this.departuretime = departuretime;
    }

    public String getArrivaltime() {
        return arrivaltime;
    }

    public void setArrivaltime(String arrivaltime) {
        this.arrivaltime = arrivaltime;
    }

    public BigDecimal getPayamount() {
        return payamount;
    }

    public void setPayamount(BigDecimal payamount) {
        this.payamount = payamount;
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime;
    }

    public List<PayTypeVo> getPayType() {
        return payType;
    }

    public void setPayType(List<PayTypeVo> payType) {
        this.payType = payType;
    }

    public Long getAddDay() {
        return addDay;
    }

    public void setAddDay(Long addDay) {
        this.addDay = addDay;
    }
}
